
                    <form method="post" enctype="multipart/form-data" target="_blank" id="form-order">
                        <div class="table-responsive">
                            <table class="table table-bordered table-hover">
                                <thead>
                                <tr>

                                    <td class="text-right">
                                        <a href="javascript:sort('id');">ID</a>
                                    </td>
                                    <td class="text-left">
                                        <a href="javascript:sort('name');">姓名</a>
                                    </td>

                                    <td class="text-left">
                                        <a href="javascript:sort('mobile');">手机号码</a>
                                    </td>
                                    <td class="text-left">
                                        <a href="javascript:sort('c_number');">会员卡号</a>
                                    </td>
                                    <td class="text-left">
                                        <a href="javascript:sort('add_time');">添加时间</a>
                                    </td>
                                    <td class="text-left">
                                        <a href="javascript:sort('end_time');">到期时间</a>
                                    </td>
                                    <td class="text-left">
                                        <a href="javascript:sort('status');">状态</a>
                                    </td>
                                    <td class="text-right">操作</td>
                                </tr>
                                </thead>
                                <tbody>
                                <volist name="userList" id="list">
                                    <tr>

                                        <td class="text-right">{$list.id}</td>
                                        <td class="text-left">{$list.name}</td>
                                        <td class="text-left">{$list.mobile}</td>
                                        <td class="text-left">{$list.c_number}</td>
                                        <td class="text-left">{$list.add_time}</td>
                                        <td class="text-left">
                                            {$list.end_time}
                                        </td>
                                        <td class="text-left">
                                        <if condition="$list[status] eq 0">待绑定<else/><span style="color:red;">已绑定</span></if>
                                        </td>

                                         <td class="text-right">
                                            <a href="{:U('Admin/user/o_detail',array('id'=>$list['id']))}" data-toggle="tooltip" title="" class="btn btn-info" data-original-title="修改">修改</a>
                                        </td>
                                       <!-- <td class="text-left">{$level[$list[level]]}</td>
                                        <td class="text-left"><if condition="$list.openid neq ''">微信用户<else/>PC端注册</if></td>
                                        <td class="text-left">{$list.total_amount}</td>
                                        <td class="text-left">{$list.email}
                                            <if condition="($list['email_validated'] eq 0) AND ($list['email'])">
                                                (未验证)
                                            </if>
                                        </td>
										&lt;!&ndash;
                                        <td class="text-left">{$first_leader[$list[user_id]]['count']|default="0"}</td>
                                        <td class="text-left">{$second_leader[$list[user_id]]['count']|default="0"}</td>
                                        <td class="text-left">{$third_leader[$list[user_id]]['count']|default="0"}</td> &ndash;&gt;
                                        <td class="text-left">{$list.mobile}
                                            <if condition="($list['mobile_validated'] eq 0) AND ($list['mobile'])">
                                                (未验证)
                                            </if>
                                        </td>
                                        <td class="text-left">{$list.user_money}</td>
                                        <td class="text-left">{$list.pay_points}</td>
                                        <td class="text-left">{$list.reg_time|date='Y-m-d H:i',###}</td>-->
                                        <!--<td class="text-right">
                                            <a href="{:U('Admin/user/detail',array('id'=>$list['user_id']))}" data-toggle="tooltip" title="" class="btn btn-info" data-original-title="查看详情"><i class="fa fa-eye"></i></a>
                                            <a href="{:U('Admin/user/address',array('id'=>$list['user_id']))}" data-toggle="tooltip" title="" class="btn btn-info" data-original-title="收货地址"><i class="fa fa-home"></i></a>
                                            &lt;!&ndash;<a href="{:U('Admin/order/index',array('user_id'=>$list['user_id']))}" data-toggle="tooltip" title="" class="btn btn-info" data-original-title="订单查看"><i class="fa fa-shopping-cart"></i></a>&ndash;&gt;
                                            <a href="{:U('Admin/user/account_log',array('id'=>$list['user_id']))}" data-toggle="tooltip" title="" class="btn btn-info" data-original-title="账户"><i class="glyphicon glyphicon-yen"></i></a>
                                            <a href="{:U('Admin/user/delete',array('id'=>$list['user_id']))}" id="button-delete6" data-toggle="tooltip" title="" class="btn btn-danger" data-original-title="删除"><i class="fa fa-trash-o"></i></a>
                                        </td>-->
                                    </tr>
                                </volist>
                                </tbody>
                            </table>
                        </div>
                    </form>
                    <div class="row">
                        <div class="col-sm-3 text-left">
                        </div>
                        <div class="col-sm-6 text-right">{$page}</div>
                    </div>
<script>
    $(".pagination  a").click(function(){
        var page = $(this).data('p');
        ajax_get_table('search-form2',page);
    });
</script>